package com.amazon.ags.constants;

import android.util.Log;

public enum LeaderboardFilter
{
  private static final String FEATURE_NAME = "LB";
  private static final String TAG = "LB_" + LeaderboardFilter.class.getSimpleName();

  static
  {
    GLOBAL_DAY = new LeaderboardFilter("GLOBAL_DAY", 2);
    FRIENDS_ALL_TIME = new LeaderboardFilter("FRIENDS_ALL_TIME", 3);
    LeaderboardFilter[] arrayOfLeaderboardFilter = new LeaderboardFilter[4];
    arrayOfLeaderboardFilter[0] = GLOBAL_ALL_TIME;
    arrayOfLeaderboardFilter[1] = GLOBAL_WEEK;
    arrayOfLeaderboardFilter[2] = GLOBAL_DAY;
    arrayOfLeaderboardFilter[3] = FRIENDS_ALL_TIME;
  }

  public static LeaderboardFilter fromOrdinal(int paramInt)
  {
    LeaderboardFilter[] arrayOfLeaderboardFilter = values();
    if ((paramInt >= arrayOfLeaderboardFilter.length) || (paramInt < 0))
    {
      Log.w(TAG, "Attempted to lookup an invalid ordinal for LeaderboardFilter: " + paramInt);
      return null;
    }
    return arrayOfLeaderboardFilter[paramInt];
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.amazon.ags.constants.LeaderboardFilter
 * JD-Core Version:    0.6.2
 */